package com.hjm.project.bankExpenditure.bankExpenditure.domain;

import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class PosOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;


    //商户名称
    private String merchantName;
    //商户编号
    private String merchantNo;
    //终端编号
    private String bankpos;
    //内部参考号
    private String terno;
    //发卡行名称
    private String bankname;
    //卡号
    private String pan;
    //凭证号
    private String stan;
    //授权码
    private String air;
    //参考号
    private String rrno;
    //交易日期
    private String riqi;
    //交易金额
    private String amount;
    //卡类型，0：未知、1：借记卡、2：贷记卡、3：预付费卡
    private String cardtype;

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantNo() {
        return merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    public String getBankpos() {
        return bankpos;
    }

    public void setBankpos(String bankpos) {
        this.bankpos = bankpos;
    }

    public String getTerno() {
        return terno;
    }

    public void setTerno(String terno) {
        this.terno = terno;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public String getPan() {
        return pan;
    }

    public void setPan(String pan) {
        this.pan = pan;
    }

    public String getStan() {
        return stan;
    }

    public void setStan(String stan) {
        this.stan = stan;
    }

    public String getAir() {
        return air;
    }

    public void setAir(String air) {
        this.air = air;
    }

    public String getRrno() {
        return rrno;
    }

    public void setRrno(String rrno) {
        this.rrno = rrno;
    }

    public String getRiqi() {
        return riqi;
    }

    public void setRiqi(String riqi) {
        this.riqi = riqi;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCardtype() {
        return cardtype;
    }

    public void setCardtype(String cardtype) {
        this.cardtype = cardtype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("serial", getSearchValue())
                .append("msgtype", getAir())
                .append("localdate", getAmount())
                .append("localtime", getBankname())
                .append("bid", getBankpos())
                .append("pan", getPan())
                .append("rc", getCardtype())
                .append("status", getMerchantName())
                .append("stan", getStan())
                .append("rrno", getRrno())
                .append("air", getAir())
                .append("dd", getMerchantNo())
                .append("cati", getRiqi())
                .append("bno", getTerno())
                .append("inputtype", getCreateBy())
                .append("syschar", getCreateTime())
                .append("cardtype", getCardtype())
                .append("settType", getEndDate())
                .append("merNo", getParams())
                .append("terno", getTerno())
                .append("sn", getRemark())
                .append("isdissmis", getStartDate())
                .append("isysf", getUpdateBy())
                .append("auState", getUpdateTime())
                .toString();
    }
}
